home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / ocx / webster / 16-bit / webster.odl < prev   
Text File  |  1995-07-29  |  5KB  |  136 lines

  1. // webster.odl : type library source for OLE Custom Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (webster.tlb) that will become a resource in
  5. // webster.ocx.
  6.  
  7. #include <olectl.h>
  8.  
  9. [ uuid(FF0A47B3-5CAC-11CE-ACAF-00AA004CA344), version(1.0),
  10.   helpstring("Webster OLE Custom Control module"), control ]
  11. library WebsterLib
  12. {
  13.     importlib(STDOLE_TLB);
  14.     importlib(STDTYPE_TLB);
  15.  
  16.     //  Primary dispatch interface for CWebsterCtrl
  17.  
  18.     [ uuid(FF0A47B1-5CAC-11CE-ACAF-00AA004CA344),
  19.       helpstring("Dispatch interface for Webster Control"), hidden ]
  20.     dispinterface _DWebster
  21.     {
  22.         properties:
  23.             // NOTE - ClassWizard will maintain property information here.
  24.             //    Use extreme caution when editing this section.
  25.             //{{AFX_ODL_PROP(CWebsterCtrl)
  26.             [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  27.             [id(DISPID_FONT), bindable] IFontDisp* Font;
  28.             [id(DISPID_HWND)] OLE_HANDLE hWnd;
  29.             [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
  30.             [id(1)] short BevelStyleInner;
  31.             [id(2)] short BevelStyleOuter;
  32.             [id(3)] long BevelWidth;
  33.             [id(29)] IFontDisp* FontHeading1;
  34.             [id(30)] IFontDisp* FontHeading2;
  35.             [id(31)] IFontDisp* FontHeading3;
  36.             [id(32)] IFontDisp* FontHeading4;
  37.             [id(33)] IFontDisp* FontHeading5;
  38.             [id(34)] IFontDisp* FontHeading6;
  39.             [id(35)] IFontDisp* FontMenu;
  40.             [id(36)] IFontDisp* FontDir;
  41.             [id(37)] IFontDisp* FontBlockQuote;
  42.             [id(38)] IFontDisp* FontExample;
  43.             [id(39)] IFontDisp* FontPreformatted;
  44.             [id(40)] IFontDisp* FontListing;
  45.             [id(41)] IFontDisp* FontNormal;
  46.             [id(42)] IFontDisp* FontAddress;
  47.             [id(4)] OLE_COLOR BevelColorTop;
  48.             [id(5)] OLE_COLOR BevelColorDark;
  49.             [id(6)] OLE_COLOR BevelColorLight;
  50.             [id(7)] short UrlWindowStyle;
  51.             [id(8)] short TitleWindowStyle;
  52.             [id(9)] BSTR PageURL;
  53.             [id(10)] BSTR PageTitle;
  54.             [id(11)] OLE_COLOR AnchorColor;
  55.             [id(12)] BSTR HomePage;
  56.             [id(13)] BSTR DownloadDir;
  57.             [id(14)] long PagesToCache;
  58.             [id(DISPID_BACKCOLOR)] OLE_COLOR BackColor;
  59.             [id(15)] boolean IgnoreBaseInFile;
  60.             [id(43)] short LoadStatus;
  61.             [id(DISPID_FORECOLOR)] OLE_COLOR ForeColor;
  62.             [id(16)] long MaxSockets;
  63.             [id(17)] long MaxPageLoads;
  64.             [id(18)] long MarginHorizontal;
  65.             [id(19)] long MarginVertical;
  66.             [id(20)] boolean LoadImages;
  67.             [id(21)] boolean ShowReferer;
  68.             [id(22)] BSTR AuthenticName;
  69.             [id(23)] BSTR AuthenticPassword;
  70.             [id(24)] BSTR FromName;
  71.             [id(25)] BSTR BrowserName;
  72.             [id(26)] long ButtonMask;
  73.             [id(27)] BSTR ProxyServerHTTP;
  74.             [id(28)] long ProxyPortHTTP;
  75.             //}}AFX_ODL_PROP
  76.  
  77.         methods:
  78.             // NOTE - ClassWizard will maintain method information here.
  79.             //    Use extreme caution when editing this section.
  80.             //{{AFX_ODL_METHOD(CWebsterCtrl)
  81.             [id(DISPID_REFRESH)] void Refresh();
  82.             [id(44)] short SaveToDisk(BSTR FileName);
  83.             [id(45)] short Cancel();
  84.             [id(46)] long GetContentSize(BSTR URL);
  85.             [id(47)] long GetContentSizeRead(BSTR URL);
  86.             [id(48)] BSTR GetContentType(BSTR URL);
  87.             [id(49)] BSTR GetRedirectedURL(BSTR URL);
  88.             [id(50)] short GetHiddenFlag(BSTR URL);
  89.             [id(51)] short SetHiddenFlag(BSTR URL, boolean Hidden);
  90.             [id(52)] short DismissPage(BSTR URL);
  91.             [id(53)] long GetLinkCount(BSTR URL);
  92.             [id(54)] BSTR GetLinkURL(BSTR URL, long Index);
  93.             [id(55)] BSTR GetContent(BSTR URL, long StartOffset, long Length);
  94.             [id(56)] short GetStatus(BSTR URL);
  95.             [id(57)] BSTR GetTitle(BSTR URL);
  96.             [id(58)] BSTR GetText(BSTR URL, long StartOffset, long Length);
  97.             [id(59)] short LoadPage(BSTR URL, short Hidden);
  98.             [id(60)] long GetTextSize(BSTR URL);
  99.             //}}AFX_ODL_METHOD
  100.  
  101.             [id(DISPID_ABOUTBOX)] void AboutBox();
  102.     };
  103.  
  104.     //  Event dispatch interface for CWebsterCtrl
  105.  
  106.     [ uuid(FF0A47B2-5CAC-11CE-ACAF-00AA004CA344),
  107.       helpstring("Event interface for Webster Control") ]
  108.     dispinterface _DWebsterEvents
  109.     {
  110.         properties:
  111.             //  Event interface has no properties
  112.  
  113.         methods:
  114.             // NOTE - ClassWizard will maintain event information here.
  115.             //    Use extreme caution when editing this section.
  116.             //{{AFX_ODL_EVENT(CWebsterCtrl)
  117.             [id(1)] void DoClickURL(BSTR* SelectedURL, boolean* Cancel);
  118.             [id(DISPID_KEYDOWN)] void KeyDown(short* KeyCode, short Shift);
  119.             [id(2)] void LoadComplete(BSTR* URL, short Status);
  120.             //}}AFX_ODL_EVENT
  121.     };
  122.  
  123.     //  Class information for CWebsterCtrl
  124.  
  125.     [ uuid(FF0A47B0-5CAC-11CE-ACAF-00AA004CA344), licensed,
  126.       helpstring("Webster Control"), control ]
  127.     coclass Webster
  128.     {
  129.         [default] dispinterface _DWebster;
  130.         [default, source] dispinterface _DWebsterEvents;
  131.     };
  132.  
  133.  
  134.     //{{AFX_APPEND_ODL}}
  135. };
  136.